package cn.cdeden.knowledge.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 模板收藏表
 */
@Data
@TableName(value = "template_collections")
public class TemplateCollections {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 模板id
     */
    @TableField(value = "template_id")
    private Long templateId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
}